﻿<Activity mc:Ignorable="sap sap2010 sads" x:Class="T2.WebSecurity.Business.Workflows.UsersInRolesNonQuery"
 xmlns="http://schemas.microsoft.com/netfx/2009/xaml/activities"
 xmlns:av="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
 xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
 xmlns:mca="clr-namespace:Microsoft.CSharp.Activities;assembly=System.Activities"
 xmlns:s="clr-namespace:System;assembly=mscorlib"
 xmlns:sads="http://schemas.microsoft.com/netfx/2010/xaml/activities/debugger"
 xmlns:sap="http://schemas.microsoft.com/netfx/2009/xaml/activities/presentation"
 xmlns:sap2010="http://schemas.microsoft.com/netfx/2010/xaml/activities/presentation"
 xmlns:scg="clr-namespace:System.Collections.Generic;assembly=mscorlib"
 xmlns:sco="clr-namespace:System.Collections.ObjectModel;assembly=mscorlib"
 xmlns:twb="clr-namespace:T2.WebSecurity.Business;assembly=T2.WebSecurity.Business.Entities"
 xmlns:twbei="clr-namespace:T2.WebSecurity.Business.Entities.Interfaces;assembly=T2.WebSecurity.Business.Entities"
 xmlns:twbwa="clr-namespace:T2.WebSecurity.Business.Workflow.Activites;assembly=T2.WebSecurity.Business.Workflow.Activities"
 xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
  <x:Members>
    <x:Property Name="BusinessService" Type="InArgument(twb:IBusinessService)" />
    <x:Property Name="Param" Type="InArgument(twbei:IUsersInRoles_biz)" />
    <x:Property Name="RetVal" Type="OutArgument(scg:IDictionary(x:String, x:Int32))" />
    <x:Property Name="RoleNames" Type="InArgument(s:String[])" />
    <x:Property Name="UserId" Type="InArgument(x:Int32)" />
    <x:Property Name="Ex" Type="OutArgument(s:Exception)" />
  </x:Members>
  <sap2010:ExpressionActivityEditor.ExpressionActivityEditor>C#</sap2010:ExpressionActivityEditor.ExpressionActivityEditor>
  <sap2010:WorkflowViewState.IdRef>T2.WebSecurity.Business.Workflows.ApplicationController_1</sap2010:WorkflowViewState.IdRef>
  <TextExpression.NamespacesForImplementation>
    <sco:Collection x:TypeArguments="x:String">
      <x:String>System</x:String>
      <x:String>System.Collections.Generic</x:String>
      <x:String>System.Data</x:String>
      <x:String>System.Linq</x:String>
      <x:String>System.Text</x:String>
      <x:String>T2.WebSecurity.Business</x:String>
      <x:String>T2.WebSecurity.Business.Entities.Interfaces</x:String>
      <x:String>T2.WebSecurity.Business.Entities.Search.Interfaces</x:String>
    </sco:Collection>
  </TextExpression.NamespacesForImplementation>
  <TextExpression.ReferencesForImplementation>
    <sco:Collection x:TypeArguments="AssemblyReference">
      <AssemblyReference>EntityFramework</AssemblyReference>
      <AssemblyReference>Microsoft.Practices.EnterpriseLibrary.Common</AssemblyReference>
      <AssemblyReference>Microsoft.Practices.EnterpriseLibrary.Data</AssemblyReference>
      <AssemblyReference>Microsoft.Practices.EnterpriseLibrary.Logging</AssemblyReference>
      <AssemblyReference>Microsoft.Practices.EnterpriseLibrary.Logging.Database</AssemblyReference>
      <AssemblyReference>Microsoft.Practices.EnterpriseLibrary.Validation</AssemblyReference>
      <AssemblyReference>System</AssemblyReference>
      <AssemblyReference>System.Activities</AssemblyReference>
      <AssemblyReference>System.Configuration</AssemblyReference>
      <AssemblyReference>System.Core</AssemblyReference>
      <AssemblyReference>System.Drawing</AssemblyReference>
      <AssemblyReference>System.Management</AssemblyReference>
      <AssemblyReference>System.ServiceModel</AssemblyReference>
      <AssemblyReference>System.ServiceModel.Activities</AssemblyReference>
      <AssemblyReference>System.Transactions</AssemblyReference>
      <AssemblyReference>System.Web</AssemblyReference>
      <AssemblyReference>System.Web.ApplicationServices</AssemblyReference>
      <AssemblyReference>System.Web.Providers</AssemblyReference>
      <AssemblyReference>System.Web.Services</AssemblyReference>
      <AssemblyReference>System.Workflow.Activities</AssemblyReference>
      <AssemblyReference>System.Workflow.ComponentModel</AssemblyReference>
      <AssemblyReference>System.Workflow.Runtime</AssemblyReference>
      <AssemblyReference>System.WorkflowServices</AssemblyReference>
      <AssemblyReference>System.Xaml</AssemblyReference>
      <AssemblyReference>System.Xml.Linq</AssemblyReference>
      <AssemblyReference>System.Data.DataSetExtensions</AssemblyReference>
      <AssemblyReference>Microsoft.CSharp</AssemblyReference>
      <AssemblyReference>System.Data</AssemblyReference>
      <AssemblyReference>System.Xml</AssemblyReference>
      <AssemblyReference>WebMatrix.WebData</AssemblyReference>
      <AssemblyReference>T2.WebSecurity.Business.Entities</AssemblyReference>
      <AssemblyReference>T2.WebSecurity.Business.Workflow.Activities</AssemblyReference>
      <AssemblyReference>T2.WebSecurity.Common</AssemblyReference>
      <AssemblyReference>T2.WebSecurity.Data</AssemblyReference>
      <AssemblyReference>mscorlib</AssemblyReference>
      <AssemblyReference>T2.WebSecurity.Business</AssemblyReference>
    </sco:Collection>
  </TextExpression.ReferencesForImplementation>
  <Flowchart sap2010:WorkflowViewState.IdRef="Flowchart_2">
    <Flowchart.Variables>
      <Variable x:TypeArguments="twbei:IApplicationUser_biz[]" Name="userApplications" />
      <Variable x:TypeArguments="twbei:IUsersInRoles_biz[]" Name="usersInRoles" />
    </Flowchart.Variables>
    <Flowchart.StartNode>
      <FlowSwitch x:TypeArguments="x:String" x:Name="__ReferenceID0" sap2010:WorkflowViewState.IdRef="FlowSwitch`1_3">
        <FlowSwitch.Expression>
          <mca:CSharpValue x:TypeArguments="x:String">Param.Action</mca:CSharpValue>
        </FlowSwitch.Expression>
        <FlowStep x:Key="Add" x:Name="__ReferenceID1" sap2010:WorkflowViewState.IdRef="FlowStep_24">
          <Sequence DisplayName="Add Sequence" sap2010:WorkflowViewState.IdRef="Sequence_2">
            <Sequence.Variables>
              <Variable x:TypeArguments="twbei:IApplicationRoles_biz" Name="applicationRole" />
            </Sequence.Variables>
            <twbwa:Db_T2_WebSecurity_UsersInRoles_GetAll DisplayName="UsersInRoles_GetAll" sap2010:WorkflowViewState.IdRef="Db_T2_WebSecurity_UsersInRoles_GetAll_1">
              <twbwa:Db_T2_WebSecurity_UsersInRoles_GetAll.BS>
                <InArgument x:TypeArguments="twb:IBusinessService">
                  <mca:CSharpValue x:TypeArguments="twb:IBusinessService">BusinessService</mca:CSharpValue>
                </InArgument>
              </twbwa:Db_T2_WebSecurity_UsersInRoles_GetAll.BS>
              <twbwa:Db_T2_WebSecurity_UsersInRoles_GetAll.RetVal>
                <OutArgument x:TypeArguments="twbei:IUsersInRoles_biz[]">
                  <mca:CSharpReference x:TypeArguments="twbei:IUsersInRoles_biz[]">usersInRoles</mca:CSharpReference>
                </OutArgument>
              </twbwa:Db_T2_WebSecurity_UsersInRoles_GetAll.RetVal>
            </twbwa:Db_T2_WebSecurity_UsersInRoles_GetAll>
            <Assign sap2010:WorkflowViewState.IdRef="Assign_8">
              <Assign.To>
                <OutArgument x:TypeArguments="twbei:IUsersInRoles_biz[]">
                  <mca:CSharpReference x:TypeArguments="twbei:IUsersInRoles_biz[]">usersInRoles</mca:CSharpReference>
                </OutArgument>
              </Assign.To>
              <Assign.Value>
                <InArgument x:TypeArguments="twbei:IUsersInRoles_biz[]">
                  <mca:CSharpValue x:TypeArguments="twbei:IUsersInRoles_biz[]">usersInRoles.Where(f=&gt;f.ApplicationRoleId==Param.ApplicationRoleId &amp;&amp; f.UserId==Param.UserId).ToArray()</mca:CSharpValue>
                </InArgument>
              </Assign.Value>
            </Assign>
            <If DisplayName="Check Existing UserInRoles" sap2010:WorkflowViewState.IdRef="If_17">
              <If.Condition>
                <InArgument x:TypeArguments="x:Boolean">
                  <mca:CSharpValue x:TypeArguments="x:Boolean">usersInRoles.Count()!=0</mca:CSharpValue>
                </InArgument>
              </If.Condition>
              <If.Then>
                <TerminateWorkflow sap2010:WorkflowViewState.IdRef="TerminateWorkflow_12" Reason="The User Role already exists.">
                  <TerminateWorkflow.Exception>
                    <InArgument x:TypeArguments="s:Exception">
                      <mca:CSharpValue x:TypeArguments="s:Exception">new Exception("The User Role already exists.")</mca:CSharpValue>
                    </InArgument>
                  </TerminateWorkflow.Exception>
                </TerminateWorkflow>
              </If.Then>
            </If>
            <TryCatch DisplayName="AddCode TryCatch" sap2010:WorkflowViewState.IdRef="TryCatch_1">
              <TryCatch.Try>
                <Sequence sap2010:WorkflowViewState.IdRef="Sequence_7">
                  <twbwa:Db_T2_WebSecurity_ApplicationUser_GetAll DisplayName="ApplicationUser_GetAll" sap2010:WorkflowViewState.IdRef="Db_T2_WebSecurity_ApplicationUser_GetAll_6">
                    <twbwa:Db_T2_WebSecurity_ApplicationUser_GetAll.BS>
                      <InArgument x:TypeArguments="twb:IBusinessService">
                        <mca:CSharpValue x:TypeArguments="twb:IBusinessService">BusinessService</mca:CSharpValue>
                      </InArgument>
                    </twbwa:Db_T2_WebSecurity_ApplicationUser_GetAll.BS>
                    <twbwa:Db_T2_WebSecurity_ApplicationUser_GetAll.RetVal>
                      <OutArgument x:TypeArguments="twbei:IApplicationUser_biz[]">
                        <mca:CSharpReference x:TypeArguments="twbei:IApplicationUser_biz[]">userApplications</mca:CSharpReference>
                      </OutArgument>
                    </twbwa:Db_T2_WebSecurity_ApplicationUser_GetAll.RetVal>
                  </twbwa:Db_T2_WebSecurity_ApplicationUser_GetAll>
                  <twbwa:Db_T2_WebSecurity_ApplicationRoles_GetOne DisplayName="ApplicationRoles_GetOne" sap2010:WorkflowViewState.IdRef="Db_T2_WebSecurity_ApplicationRoles_GetOne_1">
                    <twbwa:Db_T2_WebSecurity_ApplicationRoles_GetOne.ApplicationRoleId>
                      <InArgument x:TypeArguments="x:Int32">
                        <mca:CSharpValue x:TypeArguments="x:Int32">Param.ApplicationRoleId</mca:CSharpValue>
                      </InArgument>
                    </twbwa:Db_T2_WebSecurity_ApplicationRoles_GetOne.ApplicationRoleId>
                    <twbwa:Db_T2_WebSecurity_ApplicationRoles_GetOne.BS>
                      <InArgument x:TypeArguments="twb:IBusinessService">
                        <mca:CSharpValue x:TypeArguments="twb:IBusinessService">BusinessService</mca:CSharpValue>
                      </InArgument>
                    </twbwa:Db_T2_WebSecurity_ApplicationRoles_GetOne.BS>
                    <twbwa:Db_T2_WebSecurity_ApplicationRoles_GetOne.RetVal>
                      <OutArgument x:TypeArguments="twbei:IApplicationRoles_biz">
                        <mca:CSharpReference x:TypeArguments="twbei:IApplicationRoles_biz">applicationRole</mca:CSharpReference>
                      </OutArgument>
                    </twbwa:Db_T2_WebSecurity_ApplicationRoles_GetOne.RetVal>
                  </twbwa:Db_T2_WebSecurity_ApplicationRoles_GetOne>
                  <Assign DisplayName="Filter AppUsers by Param.User and AppRole" sap2010:WorkflowViewState.IdRef="Assign_7">
                    <Assign.To>
                      <OutArgument x:TypeArguments="twbei:IApplicationUser_biz[]">
                        <mca:CSharpReference x:TypeArguments="twbei:IApplicationUser_biz[]">userApplications</mca:CSharpReference>
                      </OutArgument>
                    </Assign.To>
                    <Assign.Value>
                      <InArgument x:TypeArguments="twbei:IApplicationUser_biz[]">
                        <mca:CSharpValue x:TypeArguments="twbei:IApplicationUser_biz[]" xml:space="preserve">userApplications
                .Where(f =&gt; f.UserId == Param.UserId &amp;&amp; f.ApplicationID == applicationRole.ApplicationID)
                .ToArray()</mca:CSharpValue>
                      </InArgument>
                    </Assign.Value>
                  </Assign>
                  <If DisplayName="Check userapp count" sap2010:WorkflowViewState.IdRef="If_16">
                    <If.Condition>
                      <InArgument x:TypeArguments="x:Boolean">
                        <mca:CSharpValue x:TypeArguments="x:Boolean">userApplications.Count()==0</mca:CSharpValue>
                      </InArgument>
                    </If.Condition>
                    <If.Then>
                      <TerminateWorkflow sap2010:WorkflowViewState.IdRef="TerminateWorkflow_11" Reason="Not allowed to add to this application">
                        <TerminateWorkflow.Exception>
                          <InArgument x:TypeArguments="s:Exception">
                            <mca:CSharpValue x:TypeArguments="s:Exception">new Exception("Not allowed to add to this application")</mca:CSharpValue>
                          </InArgument>
                        </TerminateWorkflow.Exception>
                      </TerminateWorkflow>
                    </If.Then>
                  </If>
                  <If DisplayName="If super admin" sap2010:WorkflowViewState.IdRef="If_2">
                    <If.Condition>
                      <InArgument x:TypeArguments="x:Boolean">
                        <mca:CSharpValue x:TypeArguments="x:Boolean">RoleNames.Contains("super admin")</mca:CSharpValue>
                      </InArgument>
                    </If.Condition>
                    <If.Then>
                      <twbwa:Db_T2_WebSecurity_UsersInRoles_Add DisplayName="UsersInRoles_Add" sap2010:WorkflowViewState.IdRef="Db_T2_WebSecurity_UsersInRoles_Add_2">
                        <twbwa:Db_T2_WebSecurity_UsersInRoles_Add.AddParam>
                          <InArgument x:TypeArguments="twbei:IUsersInRoles_biz">
                            <mca:CSharpValue x:TypeArguments="twbei:IUsersInRoles_biz">Param</mca:CSharpValue>
                          </InArgument>
                        </twbwa:Db_T2_WebSecurity_UsersInRoles_Add.AddParam>
                        <twbwa:Db_T2_WebSecurity_UsersInRoles_Add.BS>
                          <InArgument x:TypeArguments="twb:IBusinessService">
                            <mca:CSharpValue x:TypeArguments="twb:IBusinessService">BusinessService</mca:CSharpValue>
                          </InArgument>
                        </twbwa:Db_T2_WebSecurity_UsersInRoles_Add.BS>
                        <twbwa:Db_T2_WebSecurity_UsersInRoles_Add.RetVal>
                          <OutArgument x:TypeArguments="scg:IDictionary(x:String, x:Int32)">
                            <mca:CSharpReference x:TypeArguments="scg:IDictionary(x:String, x:Int32)">RetVal</mca:CSharpReference>
                          </OutArgument>
                        </twbwa:Db_T2_WebSecurity_UsersInRoles_Add.RetVal>
                      </twbwa:Db_T2_WebSecurity_UsersInRoles_Add>
                    </If.Then>
                    <If.Else>
                      <Sequence sap2010:WorkflowViewState.IdRef="Sequence_1">
                        <twbwa:Db_T2_WebSecurity_ApplicationUser_GetAll DisplayName="ApplicationUser_GetAll" sap2010:WorkflowViewState.IdRef="Db_T2_WebSecurity_ApplicationUser_GetAll_7">
                          <twbwa:Db_T2_WebSecurity_ApplicationUser_GetAll.BS>
                            <InArgument x:TypeArguments="twb:IBusinessService">
                              <mca:CSharpValue x:TypeArguments="twb:IBusinessService">BusinessService</mca:CSharpValue>
                            </InArgument>
                          </twbwa:Db_T2_WebSecurity_ApplicationUser_GetAll.BS>
                          <twbwa:Db_T2_WebSecurity_ApplicationUser_GetAll.RetVal>
                            <OutArgument x:TypeArguments="twbei:IApplicationUser_biz[]">
                              <mca:CSharpReference x:TypeArguments="twbei:IApplicationUser_biz[]">userApplications</mca:CSharpReference>
                            </OutArgument>
                          </twbwa:Db_T2_WebSecurity_ApplicationUser_GetAll.RetVal>
                        </twbwa:Db_T2_WebSecurity_ApplicationUser_GetAll>
                        <Assign DisplayName="Assign Apps of User" sap2010:WorkflowViewState.IdRef="Assign_6">
                          <Assign.To>
                            <OutArgument x:TypeArguments="twbei:IApplicationUser_biz[]">
                              <mca:CSharpReference x:TypeArguments="twbei:IApplicationUser_biz[]">userApplications</mca:CSharpReference>
                            </OutArgument>
                          </Assign.To>
                          <Assign.Value>
                            <InArgument x:TypeArguments="twbei:IApplicationUser_biz[]">
                              <mca:CSharpValue x:TypeArguments="twbei:IApplicationUser_biz[]" xml:space="preserve">userApplications
                .Where(f=&gt;f.UserId==UserId)
                .ToArray()</mca:CSharpValue>
                            </InArgument>
                          </Assign.Value>
                        </Assign>
                        <If DisplayName="If User in Application" sap2010:WorkflowViewState.IdRef="If_1">
                          <If.Condition>
                            <InArgument x:TypeArguments="x:Boolean">
                              <mca:CSharpValue x:TypeArguments="x:Boolean">userApplications.Count()&lt;=0</mca:CSharpValue>
                            </InArgument>
                          </If.Condition>
                          <If.Then>
                            <TerminateWorkflow sap2010:WorkflowViewState.IdRef="TerminateWorkflow_3" Reason="Permission Denied">
                              <TerminateWorkflow.Exception>
                                <InArgument x:TypeArguments="s:Exception">
                                  <mca:CSharpValue x:TypeArguments="s:Exception">new Exception("Not authorized")</mca:CSharpValue>
                                </InArgument>
                              </TerminateWorkflow.Exception>
                            </TerminateWorkflow>
                          </If.Then>
                        </If>
                      </Sequence>
                    </If.Else>
                  </If>
                  <If DisplayName="If app admin" sap2010:WorkflowViewState.IdRef="If_3">
                    <If.Condition>
                      <InArgument x:TypeArguments="x:Boolean">
                        <mca:CSharpValue x:TypeArguments="x:Boolean">RoleNames.Contains("application admin")</mca:CSharpValue>
                      </InArgument>
                    </If.Condition>
                    <If.Then>
                      <twbwa:Db_T2_WebSecurity_UsersInRoles_Add DisplayName="UsersInRoles_Add" sap2010:WorkflowViewState.IdRef="Db_T2_WebSecurity_UsersInRoles_Add_3">
                        <twbwa:Db_T2_WebSecurity_UsersInRoles_Add.AddParam>
                          <InArgument x:TypeArguments="twbei:IUsersInRoles_biz">
                            <mca:CSharpValue x:TypeArguments="twbei:IUsersInRoles_biz">Param</mca:CSharpValue>
                          </InArgument>
                        </twbwa:Db_T2_WebSecurity_UsersInRoles_Add.AddParam>
                        <twbwa:Db_T2_WebSecurity_UsersInRoles_Add.BS>
                          <InArgument x:TypeArguments="twb:IBusinessService">
                            <mca:CSharpValue x:TypeArguments="twb:IBusinessService">BusinessService</mca:CSharpValue>
                          </InArgument>
                        </twbwa:Db_T2_WebSecurity_UsersInRoles_Add.BS>
                        <twbwa:Db_T2_WebSecurity_UsersInRoles_Add.RetVal>
                          <OutArgument x:TypeArguments="scg:IDictionary(x:String, x:Int32)">
                            <mca:CSharpReference x:TypeArguments="scg:IDictionary(x:String, x:Int32)">RetVal</mca:CSharpReference>
                          </OutArgument>
                        </twbwa:Db_T2_WebSecurity_UsersInRoles_Add.RetVal>
                      </twbwa:Db_T2_WebSecurity_UsersInRoles_Add>
                    </If.Then>
                  </If>
                  <If DisplayName="If admin" sap2010:WorkflowViewState.IdRef="If_4">
                    <If.Condition>
                      <InArgument x:TypeArguments="x:Boolean">
                        <mca:CSharpValue x:TypeArguments="x:Boolean">RoleNames.Contains("admin")</mca:CSharpValue>
                      </InArgument>
                    </If.Condition>
                    <If.Then>
                      <twbwa:Db_T2_WebSecurity_UsersInRoles_Add DisplayName="UsersInRoles_Add" sap2010:WorkflowViewState.IdRef="Db_T2_WebSecurity_UsersInRoles_Add_4">
                        <twbwa:Db_T2_WebSecurity_UsersInRoles_Add.AddParam>
                          <InArgument x:TypeArguments="twbei:IUsersInRoles_biz">
                            <mca:CSharpValue x:TypeArguments="twbei:IUsersInRoles_biz">Param</mca:CSharpValue>
                          </InArgument>
                        </twbwa:Db_T2_WebSecurity_UsersInRoles_Add.AddParam>
                        <twbwa:Db_T2_WebSecurity_UsersInRoles_Add.BS>
                          <InArgument x:TypeArguments="twb:IBusinessService">
                            <mca:CSharpValue x:TypeArguments="twb:IBusinessService">BusinessService</mca:CSharpValue>
                          </InArgument>
                        </twbwa:Db_T2_WebSecurity_UsersInRoles_Add.BS>
                        <twbwa:Db_T2_WebSecurity_UsersInRoles_Add.RetVal>
                          <OutArgument x:TypeArguments="scg:IDictionary(x:String, x:Int32)">
                            <mca:CSharpReference x:TypeArguments="scg:IDictionary(x:String, x:Int32)">RetVal</mca:CSharpReference>
                          </OutArgument>
                        </twbwa:Db_T2_WebSecurity_UsersInRoles_Add.RetVal>
                      </twbwa:Db_T2_WebSecurity_UsersInRoles_Add>
                    </If.Then>
                  </If>
                  <If DisplayName="If user" sap2010:WorkflowViewState.IdRef="If_5">
                    <If.Condition>
                      <InArgument x:TypeArguments="x:Boolean">
                        <mca:CSharpValue x:TypeArguments="x:Boolean">RoleNames.Contains("user")</mca:CSharpValue>
                      </InArgument>
                    </If.Condition>
                    <If.Then>
                      <TerminateWorkflow sap2010:WorkflowViewState.IdRef="TerminateWorkflow_4" Reason="Permission Denied">
                        <TerminateWorkflow.Exception>
                          <InArgument x:TypeArguments="s:Exception">
                            <mca:CSharpValue x:TypeArguments="s:Exception">new Exception("Not authorized")</mca:CSharpValue>
                          </InArgument>
                        </TerminateWorkflow.Exception>
                      </TerminateWorkflow>
                    </If.Then>
                  </If>
                </Sequence>
              </TryCatch.Try>
              <TryCatch.Catches>
                <Catch x:TypeArguments="s:Exception" sap2010:WorkflowViewState.IdRef="Catch`1_1">
                  <ActivityAction x:TypeArguments="s:Exception">
                    <ActivityAction.Argument>
                      <DelegateInArgument x:TypeArguments="s:Exception" Name="exception" />
                    </ActivityAction.Argument>
                    <Assign sap2010:WorkflowViewState.IdRef="Assign_9">
                      <Assign.To>
                        <OutArgument x:TypeArguments="s:Exception">
                          <mca:CSharpReference x:TypeArguments="s:Exception">Ex</mca:CSharpReference>
                        </OutArgument>
                      </Assign.To>
                      <Assign.Value>
                        <InArgument x:TypeArguments="s:Exception">
                          <mca:CSharpValue x:TypeArguments="s:Exception">exception</mca:CSharpValue>
                        </InArgument>
                      </Assign.Value>
                    </Assign>
                  </ActivityAction>
                </Catch>
              </TryCatch.Catches>
            </TryCatch>
          </Sequence>
        </FlowStep>
        <FlowStep x:Key="Update" x:Name="__ReferenceID2" sap2010:WorkflowViewState.IdRef="FlowStep_25">
          <Sequence DisplayName="Update Sequence" sap2010:WorkflowViewState.IdRef="Sequence_4">
            <twbwa:Db_T2_WebSecurity_UsersInRoles_GetAll DisplayName="UsersInRoles_GetAll" sap2010:WorkflowViewState.IdRef="Db_T2_WebSecurity_UsersInRoles_GetAll_2">
              <twbwa:Db_T2_WebSecurity_UsersInRoles_GetAll.BS>
                <InArgument x:TypeArguments="twb:IBusinessService">
                  <mca:CSharpValue x:TypeArguments="twb:IBusinessService">BusinessService</mca:CSharpValue>
                </InArgument>
              </twbwa:Db_T2_WebSecurity_UsersInRoles_GetAll.BS>
              <twbwa:Db_T2_WebSecurity_UsersInRoles_GetAll.RetVal>
                <OutArgument x:TypeArguments="twbei:IUsersInRoles_biz[]">
                  <mca:CSharpReference x:TypeArguments="twbei:IUsersInRoles_biz[]">usersInRoles</mca:CSharpReference>
                </OutArgument>
              </twbwa:Db_T2_WebSecurity_UsersInRoles_GetAll.RetVal>
            </twbwa:Db_T2_WebSecurity_UsersInRoles_GetAll>
            <Assign sap2010:WorkflowViewState.IdRef="Assign_10">
              <Assign.To>
                <OutArgument x:TypeArguments="twbei:IUsersInRoles_biz[]">
                  <mca:CSharpReference x:TypeArguments="twbei:IUsersInRoles_biz[]">usersInRoles</mca:CSharpReference>
                </OutArgument>
              </Assign.To>
              <Assign.Value>
                <InArgument x:TypeArguments="twbei:IUsersInRoles_biz[]">
                  <mca:CSharpValue x:TypeArguments="twbei:IUsersInRoles_biz[]">usersInRoles.Where(f=&gt;f.ApplicationRoleId==Param.ApplicationRoleId &amp;&amp; f.UserId==Param.UserId).ToArray()</mca:CSharpValue>
                </InArgument>
              </Assign.Value>
            </Assign>
            <If DisplayName="Check Existing UserInRoles" sap2010:WorkflowViewState.IdRef="If_18">
              <If.Condition>
                <InArgument x:TypeArguments="x:Boolean">
                  <mca:CSharpValue x:TypeArguments="x:Boolean">usersInRoles.Count()!=0</mca:CSharpValue>
                </InArgument>
              </If.Condition>
              <If.Then>
                <TerminateWorkflow sap2010:WorkflowViewState.IdRef="TerminateWorkflow_13" Reason="The User Role already exists.">
                  <TerminateWorkflow.Exception>
                    <InArgument x:TypeArguments="s:Exception">
                      <mca:CSharpValue x:TypeArguments="s:Exception">new Exception("The User Role already exists.")</mca:CSharpValue>
                    </InArgument>
                  </TerminateWorkflow.Exception>
                </TerminateWorkflow>
              </If.Then>
            </If>
            <TryCatch sap2010:WorkflowViewState.IdRef="TryCatch_2">
              <TryCatch.Try>
                <Sequence sap2010:WorkflowViewState.IdRef="Sequence_8">
                  <If DisplayName="If super admin" sap2010:WorkflowViewState.IdRef="If_7">
                    <If.Condition>
                      <InArgument x:TypeArguments="x:Boolean">
                        <mca:CSharpValue x:TypeArguments="x:Boolean">RoleNames.Contains("super admin")</mca:CSharpValue>
                      </InArgument>
                    </If.Condition>
                    <If.Then>
                      <twbwa:Db_T2_WebSecurity_UsersInRoles_Modify DisplayName="UsersInRoles_Modify" sap2010:WorkflowViewState.IdRef="Db_T2_WebSecurity_UsersInRoles_Modify_2">
                        <twbwa:Db_T2_WebSecurity_UsersInRoles_Modify.BS>
                          <InArgument x:TypeArguments="twb:IBusinessService">
                            <mca:CSharpValue x:TypeArguments="twb:IBusinessService">BusinessService</mca:CSharpValue>
                          </InArgument>
                        </twbwa:Db_T2_WebSecurity_UsersInRoles_Modify.BS>
                        <twbwa:Db_T2_WebSecurity_UsersInRoles_Modify.ModifyParam>
                          <InArgument x:TypeArguments="twbei:IUsersInRoles_biz">
                            <mca:CSharpValue x:TypeArguments="twbei:IUsersInRoles_biz">Param</mca:CSharpValue>
                          </InArgument>
                        </twbwa:Db_T2_WebSecurity_UsersInRoles_Modify.ModifyParam>
                        <twbwa:Db_T2_WebSecurity_UsersInRoles_Modify.RetVal>
                          <OutArgument x:TypeArguments="scg:IDictionary(x:String, x:Int32)">
                            <mca:CSharpReference x:TypeArguments="scg:IDictionary(x:String, x:Int32)">RetVal</mca:CSharpReference>
                          </OutArgument>
                        </twbwa:Db_T2_WebSecurity_UsersInRoles_Modify.RetVal>
                      </twbwa:Db_T2_WebSecurity_UsersInRoles_Modify>
                    </If.Then>
                    <If.Else>
                      <Sequence sap2010:WorkflowViewState.IdRef="Sequence_3">
                        <twbwa:Db_T2_WebSecurity_ApplicationUser_GetAll DisplayName="ApplicationUser_GetAll" sap2010:WorkflowViewState.IdRef="Db_T2_WebSecurity_ApplicationUser_GetAll_4">
                          <twbwa:Db_T2_WebSecurity_ApplicationUser_GetAll.BS>
                            <InArgument x:TypeArguments="twb:IBusinessService">
                              <mca:CSharpValue x:TypeArguments="twb:IBusinessService">BusinessService</mca:CSharpValue>
                            </InArgument>
                          </twbwa:Db_T2_WebSecurity_ApplicationUser_GetAll.BS>
                          <twbwa:Db_T2_WebSecurity_ApplicationUser_GetAll.RetVal>
                            <OutArgument x:TypeArguments="twbei:IApplicationUser_biz[]">
                              <mca:CSharpReference x:TypeArguments="twbei:IApplicationUser_biz[]">userApplications</mca:CSharpReference>
                            </OutArgument>
                          </twbwa:Db_T2_WebSecurity_ApplicationUser_GetAll.RetVal>
                        </twbwa:Db_T2_WebSecurity_ApplicationUser_GetAll>
                        <Assign DisplayName="Assign Apps of User" sap2010:WorkflowViewState.IdRef="Assign_4">
                          <Assign.To>
                            <OutArgument x:TypeArguments="twbei:IApplicationUser_biz[]">
                              <mca:CSharpReference x:TypeArguments="twbei:IApplicationUser_biz[]">userApplications</mca:CSharpReference>
                            </OutArgument>
                          </Assign.To>
                          <Assign.Value>
                            <InArgument x:TypeArguments="twbei:IApplicationUser_biz[]">
                              <mca:CSharpValue x:TypeArguments="twbei:IApplicationUser_biz[]" xml:space="preserve">userApplications
                .Where(f=&gt;f.UserId==UserId)
                .ToArray()</mca:CSharpValue>
                            </InArgument>
                          </Assign.Value>
                        </Assign>
                        <If DisplayName="If User in Application" sap2010:WorkflowViewState.IdRef="If_6">
                          <If.Condition>
                            <InArgument x:TypeArguments="x:Boolean">
                              <mca:CSharpValue x:TypeArguments="x:Boolean">userApplications.Count()&lt;=0</mca:CSharpValue>
                            </InArgument>
                          </If.Condition>
                          <If.Then>
                            <TerminateWorkflow sap2010:WorkflowViewState.IdRef="TerminateWorkflow_5" Reason="Permission Denied">
                              <TerminateWorkflow.Exception>
                                <InArgument x:TypeArguments="s:Exception">
                                  <mca:CSharpValue x:TypeArguments="s:Exception">new Exception("Not authorized")</mca:CSharpValue>
                                </InArgument>
                              </TerminateWorkflow.Exception>
                            </TerminateWorkflow>
                          </If.Then>
                        </If>
                      </Sequence>
                    </If.Else>
                  </If>
                  <If DisplayName="If app admin" sap2010:WorkflowViewState.IdRef="If_8">
                    <If.Condition>
                      <InArgument x:TypeArguments="x:Boolean">
                        <mca:CSharpValue x:TypeArguments="x:Boolean">RoleNames.Contains("application admin")</mca:CSharpValue>
                      </InArgument>
                    </If.Condition>
                    <If.Then>
                      <twbwa:Db_T2_WebSecurity_UsersInRoles_Modify DisplayName="UsersInRoles_Modify" sap2010:WorkflowViewState.IdRef="Db_T2_WebSecurity_UsersInRoles_Modify_3">
                        <twbwa:Db_T2_WebSecurity_UsersInRoles_Modify.BS>
                          <InArgument x:TypeArguments="twb:IBusinessService">
                            <mca:CSharpValue x:TypeArguments="twb:IBusinessService">BusinessService</mca:CSharpValue>
                          </InArgument>
                        </twbwa:Db_T2_WebSecurity_UsersInRoles_Modify.BS>
                        <twbwa:Db_T2_WebSecurity_UsersInRoles_Modify.ModifyParam>
                          <InArgument x:TypeArguments="twbei:IUsersInRoles_biz">
                            <mca:CSharpValue x:TypeArguments="twbei:IUsersInRoles_biz">Param</mca:CSharpValue>
                          </InArgument>
                        </twbwa:Db_T2_WebSecurity_UsersInRoles_Modify.ModifyParam>
                        <twbwa:Db_T2_WebSecurity_UsersInRoles_Modify.RetVal>
                          <OutArgument x:TypeArguments="scg:IDictionary(x:String, x:Int32)">
                            <mca:CSharpReference x:TypeArguments="scg:IDictionary(x:String, x:Int32)">RetVal</mca:CSharpReference>
                          </OutArgument>
                        </twbwa:Db_T2_WebSecurity_UsersInRoles_Modify.RetVal>
                      </twbwa:Db_T2_WebSecurity_UsersInRoles_Modify>
                    </If.Then>
                  </If>
                  <If DisplayName="If admin" sap2010:WorkflowViewState.IdRef="If_9">
                    <If.Condition>
                      <InArgument x:TypeArguments="x:Boolean">
                        <mca:CSharpValue x:TypeArguments="x:Boolean">RoleNames.Contains("admin")</mca:CSharpValue>
                      </InArgument>
                    </If.Condition>
                    <If.Then>
                      <TerminateWorkflow sap2010:WorkflowViewState.IdRef="TerminateWorkflow_10" Reason="Permission Denied">
                        <TerminateWorkflow.Exception>
                          <InArgument x:TypeArguments="s:Exception">
                            <mca:CSharpValue x:TypeArguments="s:Exception">new Exception("Not authorized")</mca:CSharpValue>
                          </InArgument>
                        </TerminateWorkflow.Exception>
                      </TerminateWorkflow>
                    </If.Then>
                  </If>
                  <If DisplayName="If user" sap2010:WorkflowViewState.IdRef="If_10">
                    <If.Condition>
                      <InArgument x:TypeArguments="x:Boolean">
                        <mca:CSharpValue x:TypeArguments="x:Boolean">RoleNames.Contains("user")</mca:CSharpValue>
                      </InArgument>
                    </If.Condition>
                    <If.Then>
                      <TerminateWorkflow sap2010:WorkflowViewState.IdRef="TerminateWorkflow_6" Reason="Permission Denied">
                        <TerminateWorkflow.Exception>
                          <InArgument x:TypeArguments="s:Exception">
                            <mca:CSharpValue x:TypeArguments="s:Exception">new Exception("Not authorized")</mca:CSharpValue>
                          </InArgument>
                        </TerminateWorkflow.Exception>
                      </TerminateWorkflow>
                    </If.Then>
                  </If>
                </Sequence>
              </TryCatch.Try>
              <TryCatch.Catches>
                <Catch x:TypeArguments="s:Exception" sap2010:WorkflowViewState.IdRef="Catch`1_2">
                  <ActivityAction x:TypeArguments="s:Exception">
                    <ActivityAction.Argument>
                      <DelegateInArgument x:TypeArguments="s:Exception" Name="exception" />
                    </ActivityAction.Argument>
                    <Assign sap2010:WorkflowViewState.IdRef="Assign_11">
                      <Assign.To>
                        <OutArgument x:TypeArguments="s:Exception">
                          <mca:CSharpReference x:TypeArguments="s:Exception">Ex</mca:CSharpReference>
                        </OutArgument>
                      </Assign.To>
                      <Assign.Value>
                        <InArgument x:TypeArguments="s:Exception">
                          <mca:CSharpValue x:TypeArguments="s:Exception">exception</mca:CSharpValue>
                        </InArgument>
                      </Assign.Value>
                    </Assign>
                  </ActivityAction>
                </Catch>
              </TryCatch.Catches>
            </TryCatch>
          </Sequence>
        </FlowStep>
        <FlowStep x:Key="Remove" x:Name="__ReferenceID3" sap2010:WorkflowViewState.IdRef="FlowStep_26">
          <Sequence DisplayName="Remove Sequence" sap2010:WorkflowViewState.IdRef="Sequence_6">
            <If DisplayName="If super admin" sap2010:WorkflowViewState.IdRef="If_12">
              <If.Condition>
                <InArgument x:TypeArguments="x:Boolean">
                  <mca:CSharpValue x:TypeArguments="x:Boolean">RoleNames.Contains("super admin")</mca:CSharpValue>
                </InArgument>
              </If.Condition>
              <If.Then>
                <twbwa:Db_T2_WebSecurity_UsersInRoles_Remove DisplayName="UsersInRoles_Remove" sap2010:WorkflowViewState.IdRef="Db_T2_WebSecurity_UsersInRoles_Remove_2">
                  <twbwa:Db_T2_WebSecurity_UsersInRoles_Remove.BS>
                    <InArgument x:TypeArguments="twb:IBusinessService">
                      <mca:CSharpValue x:TypeArguments="twb:IBusinessService">BusinessService</mca:CSharpValue>
                    </InArgument>
                  </twbwa:Db_T2_WebSecurity_UsersInRoles_Remove.BS>
                  <twbwa:Db_T2_WebSecurity_UsersInRoles_Remove.RemoveParam>
                    <InArgument x:TypeArguments="twbei:IUsersInRoles_biz">
                      <mca:CSharpValue x:TypeArguments="twbei:IUsersInRoles_biz">Param</mca:CSharpValue>
                    </InArgument>
                  </twbwa:Db_T2_WebSecurity_UsersInRoles_Remove.RemoveParam>
                  <twbwa:Db_T2_WebSecurity_UsersInRoles_Remove.RetVal>
                    <OutArgument x:TypeArguments="scg:IDictionary(x:String, x:Int32)">
                      <mca:CSharpReference x:TypeArguments="scg:IDictionary(x:String, x:Int32)">RetVal</mca:CSharpReference>
                    </OutArgument>
                  </twbwa:Db_T2_WebSecurity_UsersInRoles_Remove.RetVal>
                </twbwa:Db_T2_WebSecurity_UsersInRoles_Remove>
              </If.Then>
              <If.Else>
                <Sequence sap2010:WorkflowViewState.IdRef="Sequence_5">
                  <twbwa:Db_T2_WebSecurity_ApplicationUser_GetAll DisplayName="ApplicationUser_GetAll" sap2010:WorkflowViewState.IdRef="Db_T2_WebSecurity_ApplicationUser_GetAll_5">
                    <twbwa:Db_T2_WebSecurity_ApplicationUser_GetAll.BS>
                      <InArgument x:TypeArguments="twb:IBusinessService">
                        <mca:CSharpValue x:TypeArguments="twb:IBusinessService">BusinessService</mca:CSharpValue>
                      </InArgument>
                    </twbwa:Db_T2_WebSecurity_ApplicationUser_GetAll.BS>
                    <twbwa:Db_T2_WebSecurity_ApplicationUser_GetAll.RetVal>
                      <OutArgument x:TypeArguments="twbei:IApplicationUser_biz[]">
                        <mca:CSharpReference x:TypeArguments="twbei:IApplicationUser_biz[]">userApplications</mca:CSharpReference>
                      </OutArgument>
                    </twbwa:Db_T2_WebSecurity_ApplicationUser_GetAll.RetVal>
                  </twbwa:Db_T2_WebSecurity_ApplicationUser_GetAll>
                  <Assign DisplayName="Assign Apps of User" sap2010:WorkflowViewState.IdRef="Assign_5">
                    <Assign.To>
                      <OutArgument x:TypeArguments="twbei:IApplicationUser_biz[]">
                        <mca:CSharpReference x:TypeArguments="twbei:IApplicationUser_biz[]">userApplications</mca:CSharpReference>
                      </OutArgument>
                    </Assign.To>
                    <Assign.Value>
                      <InArgument x:TypeArguments="twbei:IApplicationUser_biz[]">
                        <mca:CSharpValue x:TypeArguments="twbei:IApplicationUser_biz[]" xml:space="preserve">userApplications
                .Where(f=&gt;f.UserId==UserId)
                .ToArray()</mca:CSharpValue>
                      </InArgument>
                    </Assign.Value>
                  </Assign>
                  <If DisplayName="If User in Application" sap2010:WorkflowViewState.IdRef="If_11">
                    <If.Condition>
                      <InArgument x:TypeArguments="x:Boolean">
                        <mca:CSharpValue x:TypeArguments="x:Boolean">userApplications.Count()&lt;=0</mca:CSharpValue>
                      </InArgument>
                    </If.Condition>
                    <If.Then>
                      <TerminateWorkflow sap2010:WorkflowViewState.IdRef="TerminateWorkflow_7" Reason="Permission Denied">
                        <TerminateWorkflow.Exception>
                          <InArgument x:TypeArguments="s:Exception">
                            <mca:CSharpValue x:TypeArguments="s:Exception">new Exception("Not authorized")</mca:CSharpValue>
                          </InArgument>
                        </TerminateWorkflow.Exception>
                      </TerminateWorkflow>
                    </If.Then>
                  </If>
                </Sequence>
              </If.Else>
            </If>
            <If DisplayName="If app admin" sap2010:WorkflowViewState.IdRef="If_13">
              <If.Condition>
                <InArgument x:TypeArguments="x:Boolean">
                  <mca:CSharpValue x:TypeArguments="x:Boolean">RoleNames.Contains("application admin")</mca:CSharpValue>
                </InArgument>
              </If.Condition>
              <If.Then>
                <twbwa:Db_T2_WebSecurity_UsersInRoles_Remove DisplayName="UsersInRoles_Remove" sap2010:WorkflowViewState.IdRef="Db_T2_WebSecurity_UsersInRoles_Remove_3">
                  <twbwa:Db_T2_WebSecurity_UsersInRoles_Remove.BS>
                    <InArgument x:TypeArguments="twb:IBusinessService">
                      <mca:CSharpValue x:TypeArguments="twb:IBusinessService">BusinessService</mca:CSharpValue>
                    </InArgument>
                  </twbwa:Db_T2_WebSecurity_UsersInRoles_Remove.BS>
                  <twbwa:Db_T2_WebSecurity_UsersInRoles_Remove.RemoveParam>
                    <InArgument x:TypeArguments="twbei:IUsersInRoles_biz">
                      <mca:CSharpValue x:TypeArguments="twbei:IUsersInRoles_biz">Param</mca:CSharpValue>
                    </InArgument>
                  </twbwa:Db_T2_WebSecurity_UsersInRoles_Remove.RemoveParam>
                  <twbwa:Db_T2_WebSecurity_UsersInRoles_Remove.RetVal>
                    <OutArgument x:TypeArguments="scg:IDictionary(x:String, x:Int32)">
                      <mca:CSharpReference x:TypeArguments="scg:IDictionary(x:String, x:Int32)">RetVal</mca:CSharpReference>
                    </OutArgument>
                  </twbwa:Db_T2_WebSecurity_UsersInRoles_Remove.RetVal>
                </twbwa:Db_T2_WebSecurity_UsersInRoles_Remove>
              </If.Then>
            </If>
            <If DisplayName="If admin" sap2010:WorkflowViewState.IdRef="If_14">
              <If.Condition>
                <InArgument x:TypeArguments="x:Boolean">
                  <mca:CSharpValue x:TypeArguments="x:Boolean">RoleNames.Contains("admin")</mca:CSharpValue>
                </InArgument>
              </If.Condition>
              <If.Then>
                <TerminateWorkflow sap2010:WorkflowViewState.IdRef="TerminateWorkflow_9" Reason="Permission Denied">
                  <TerminateWorkflow.Exception>
                    <InArgument x:TypeArguments="s:Exception">
                      <mca:CSharpValue x:TypeArguments="s:Exception">new Exception("Not authorized")</mca:CSharpValue>
                    </InArgument>
                  </TerminateWorkflow.Exception>
                </TerminateWorkflow>
              </If.Then>
            </If>
            <If DisplayName="If user" sap2010:WorkflowViewState.IdRef="If_15">
              <If.Condition>
                <InArgument x:TypeArguments="x:Boolean">
                  <mca:CSharpValue x:TypeArguments="x:Boolean">RoleNames.Contains("user")</mca:CSharpValue>
                </InArgument>
              </If.Condition>
              <If.Then>
                <TerminateWorkflow sap2010:WorkflowViewState.IdRef="TerminateWorkflow_8" Reason="Permission Denied">
                  <TerminateWorkflow.Exception>
                    <InArgument x:TypeArguments="s:Exception">
                      <mca:CSharpValue x:TypeArguments="s:Exception">new Exception("Not authorized")</mca:CSharpValue>
                    </InArgument>
                  </TerminateWorkflow.Exception>
                </TerminateWorkflow>
              </If.Then>
            </If>
          </Sequence>
        </FlowStep>
      </FlowSwitch>
    </Flowchart.StartNode>
    <x:Reference>__ReferenceID0</x:Reference>
    <x:Reference>__ReferenceID1</x:Reference>
    <x:Reference>__ReferenceID2</x:Reference>
    <x:Reference>__ReferenceID3</x:Reference>
    <sads:DebugSymbol.Symbol>d2RDOlxQcm9qZWN0c1xUMlxUMlNlY3VyaXR5XFQyLldlYlNlY3VyaXR5XFQyLldlYlNlY3VyaXR5LkJ1c2luZXNzXFdvcmtmbG93c1xVc2Vyc0luUm9sZXNOb25RdWVyeS54YW1smwFOA78FDwIBAVYLVlUDAcwGswQLtgUWAwGZBeoCC7AEFgMBlANZC+cCFgIBArQEDfsEEgMB6gX8BA2VBRIDAcQFlgUNpQUSAwGvBaYFDbUFEgMBmgXrAg32AjsDAYYF9wINggMWAwHzBIMDDZIDEgMB3gSTAw2vBBgDAZUDXQ1oOwMB/wJpDXQWAwHqAnUNhAESAwHTAoUBDeYCGAIBA7cEE7cEcwMB6wW7BBHLBD8DAbAGzgQR+QQcAwH0Bf8EE/8EeQMBxQWDBRGTBT8DAc4FmQUTmQVtAwGwBZ0FEaMFJQMBuQWpBROpBWwDAZsFrQURswUlAwGkBfMCE/MCdgMBkAXuAhPuAmwDAYcF/wIT/wLUAQMB/QT6AhP6AnYDAfQEhgMThgNpAwHfBIoDEZADJQMB6ASVAxGYBBwDAasDoAQVqwQeAwGWA2UTZXYDAYoDYBNgbAMBgANxE3HUAQMB9QJsE2x2AwHrAngTeGkDAdQCfBGCASUDAd4ChwERzwIcAgEb1wIV4gIeAgEEyAQXyAR9AwHDBr4EF74EcAMBugbDBBfDBGkDAbEGzwQT2gREAwGdBtsEE+gEHAMBigbpBBP4BBgDAfUFkAUXkAV9AwHhBYYFF4YFcAMB2AWLBReLBWkDAc8FnQVhnQV0AwHDBaAFF6AFdwMBugWtBWGtBXQDAa4FsAUXsAV3AwGlBYoDYooDgQEDAfIEjQMXjQOGAQMB6QSWAxPdAxgDAfwD3gMT9wMYAwHWA/gDE4cEGAMBwQOIBBOXBBgDAawDqAQbqARlAwGhA6MEG6MEZgMBlwN8YnyBAQMB6QJ/F3+GAQMB3wKIAROTAUQDAb4ClAETpAFFAwGfAqUBE7IBHAMBigKzARPCARgDAfMBwwETigIYAwGHAYsCE6QCGAIBXaUCE74CGAIBM78CE84CGAIBHN8CG98CZQIBENoCG9oCZgIBBdcEGdcEgwEDAacG0gQZ0gRyAwGeBuMEGeUELQMBlAbeBBneBIMBAwGLBuwEGewEdgMB9gXwBBf2BCsDAf8FmQMZmQN5AwH9A50DF60DRQMBwgSwAxfbAyIDAYYE4QMZ4QN/AwHXA+UDF/UDRQMB4AP7Axn7A3MDAcID/wMXhQQrAwHLA4sEGYsEcgMBrQOPBBeVBCsDAbYDkAEZkAGDAQMByQKLARmLAXIDAb8ClwEZlwFtAwG0AqEBGaEBgQEDAaoCnAEZnAFyAwGgAq0BGa8BLQMBlQKoARmoAYMBAwGLArYBGbYBcwMB9AG6ARfAASsDAf4BxgEZxgF5AwGIAcoBF9oBQgMB1AHdAReIAiIDAZIBjgIZjgJ/AgFekgIXogJCAgFoqAIZqAJzAgE0rAIXvAJCAgE+wgIZwgJyAgEdxgIXzAIrAgEn8ARn8AR6AwGJBvMEHfMEfQMBgAaqAx2qA4MBAwHVBKADHaADdgMBzASlAx2lA28DAcMEsQMZvANKAwGvBL0DGcoDIgMBnATLAxnaAx4DAYcE8gMd8gODAQMB8wPoAx3oA3YDAeoD7QMd7QNvAwHhA/8DaP8DewMB1QOCBB2CBH0DAcwDjwRnjwR6AwHAA5IEHZIEfQMBtwO6AWi6AZABAwGJAr0BHb0BlQEDAf8B1wEd1wGDAQMB6QHNAR3NAW8DAd8B0gEd0gF2AwHVAd4BGekBSgMBvwHqARn3ASIDAaoB+AEZhwIeAwGTAZ8CHZ8CgwECAX2VAh2VAm8CAXOaAh2aAnYCAWm5Ah25AoMBAgFTrwIdrwJvAgFJtAIdtAJ2AgE/xgJnxgJ6AgEyyQIdyQJ9AgEouQMfuQOJAQMBuQS0Ax+0A3gDAbAExQMfxwMtAwGmBMADH8ADiQEDAZ0EzgMfzgN8AwGIBNIDHdgDMQMBkQTmAR/mAYkBAwHKAeEBH+EBeAMBwAHyAR/0AS0DAbUB7QEf7QGJAQMBqwH7AR/7AXwDAZQB/wEdhQIxAwGeAdIDbdIDgAEDAZsE1QMj1QODAQMBkgT/AW3/AYABAwGpAYICI4ICgwEDAZ8B</sads:DebugSymbol.Symbol>
  </Flowchart>
  <sap2010:WorkflowViewState.ViewStateManager>
    <sap2010:ViewStateManager>
      <sap2010:ViewStateData Id="Db_T2_WebSecurity_UsersInRoles_GetAll_1" sap:VirtualizedContainerService.HintSize="242,22" />
      <sap2010:ViewStateData Id="Assign_8" sap:VirtualizedContainerService.HintSize="242,62" />
      <sap2010:ViewStateData Id="TerminateWorkflow_12" sap:VirtualizedContainerService.HintSize="200,22" />
      <sap2010:ViewStateData Id="If_17" sap:VirtualizedContainerService.HintSize="242,51">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <x:Boolean x:Key="IsExpanded">False</x:Boolean>
            <x:Boolean x:Key="IsPinned">True</x:Boolean>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
      <sap2010:ViewStateData Id="Db_T2_WebSecurity_ApplicationUser_GetAll_6" sap:VirtualizedContainerService.HintSize="464,22">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <x:Boolean x:Key="IsExpanded">True</x:Boolean>
            <x:Boolean x:Key="IsPinned">False</x:Boolean>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
      <sap2010:ViewStateData Id="Db_T2_WebSecurity_ApplicationRoles_GetOne_1" sap:VirtualizedContainerService.HintSize="464,22">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <x:Boolean x:Key="IsExpanded">True</x:Boolean>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
      <sap2010:ViewStateData Id="Assign_7" sap:VirtualizedContainerService.HintSize="464,62">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <x:Boolean x:Key="IsExpanded">True</x:Boolean>
            <x:Boolean x:Key="IsPinned">False</x:Boolean>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
      <sap2010:ViewStateData Id="TerminateWorkflow_11" sap:VirtualizedContainerService.HintSize="200,22">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <x:Boolean x:Key="IsExpanded">True</x:Boolean>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
      <sap2010:ViewStateData Id="If_16" sap:VirtualizedContainerService.HintSize="464,51">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <x:Boolean x:Key="IsExpanded">False</x:Boolean>
            <x:Boolean x:Key="IsPinned">True</x:Boolean>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
      <sap2010:ViewStateData Id="Db_T2_WebSecurity_UsersInRoles_Add_2" sap:VirtualizedContainerService.HintSize="200,22">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <x:Boolean x:Key="IsExpanded">True</x:Boolean>
            <x:Boolean x:Key="IsPinned">False</x:Boolean>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
      <sap2010:ViewStateData Id="Db_T2_WebSecurity_ApplicationUser_GetAll_7" sap:VirtualizedContainerService.HintSize="464,22">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <x:Boolean x:Key="IsExpanded">True</x:Boolean>
            <x:Boolean x:Key="IsPinned">False</x:Boolean>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
      <sap2010:ViewStateData Id="Assign_6" sap:VirtualizedContainerService.HintSize="464,62">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <x:Boolean x:Key="IsExpanded">True</x:Boolean>
            <x:Boolean x:Key="IsPinned">False</x:Boolean>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
      <sap2010:ViewStateData Id="TerminateWorkflow_3" sap:VirtualizedContainerService.HintSize="200,22">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <x:Boolean x:Key="IsExpanded">True</x:Boolean>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
      <sap2010:ViewStateData Id="If_1" sap:VirtualizedContainerService.HintSize="464,210" />
      <sap2010:ViewStateData Id="Sequence_1" sap:VirtualizedContainerService.HintSize="486,498">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <x:Boolean x:Key="IsExpanded">True</x:Boolean>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
      <sap2010:ViewStateData Id="If_2" sap:VirtualizedContainerService.HintSize="464,51">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <x:Boolean x:Key="IsExpanded">False</x:Boolean>
            <x:Boolean x:Key="IsPinned">True</x:Boolean>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
      <sap2010:ViewStateData Id="Db_T2_WebSecurity_UsersInRoles_Add_3" sap:VirtualizedContainerService.HintSize="200,22">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <x:Boolean x:Key="IsExpanded">True</x:Boolean>
            <x:Boolean x:Key="IsPinned">False</x:Boolean>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
      <sap2010:ViewStateData Id="If_3" sap:VirtualizedContainerService.HintSize="464,51">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <x:Boolean x:Key="IsExpanded">False</x:Boolean>
            <x:Boolean x:Key="IsPinned">True</x:Boolean>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
      <sap2010:ViewStateData Id="Db_T2_WebSecurity_UsersInRoles_Add_4" sap:VirtualizedContainerService.HintSize="200,22">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <x:Boolean x:Key="IsExpanded">True</x:Boolean>
            <x:Boolean x:Key="IsPinned">False</x:Boolean>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
      <sap2010:ViewStateData Id="If_4" sap:VirtualizedContainerService.HintSize="464,51">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <x:Boolean x:Key="IsExpanded">False</x:Boolean>
            <x:Boolean x:Key="IsPinned">True</x:Boolean>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
      <sap2010:ViewStateData Id="TerminateWorkflow_4" sap:VirtualizedContainerService.HintSize="200,22">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <x:Boolean x:Key="IsExpanded">True</x:Boolean>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
      <sap2010:ViewStateData Id="If_5" sap:VirtualizedContainerService.HintSize="464,51">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <x:Boolean x:Key="IsExpanded">False</x:Boolean>
            <x:Boolean x:Key="IsPinned">True</x:Boolean>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
      <sap2010:ViewStateData Id="Sequence_7" sap:VirtualizedContainerService.HintSize="200,51">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <x:Boolean x:Key="IsExpanded">False</x:Boolean>
            <x:Boolean x:Key="IsPinned">True</x:Boolean>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
      <sap2010:ViewStateData Id="Assign_9" sap:VirtualizedContainerService.HintSize="242,62" />
      <sap2010:ViewStateData Id="Catch`1_1" sap:VirtualizedContainerService.HintSize="404,135">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <x:Boolean x:Key="IsExpanded">True</x:Boolean>
            <x:Boolean x:Key="IsPinned">False</x:Boolean>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
      <sap2010:ViewStateData Id="TryCatch_1" sap:VirtualizedContainerService.HintSize="242,51">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <x:Boolean x:Key="IsExpanded">False</x:Boolean>
            <x:Boolean x:Key="IsPinned">True</x:Boolean>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
      <sap2010:ViewStateData Id="Sequence_2" sap:VirtualizedContainerService.HintSize="200,51">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <x:Boolean x:Key="IsExpanded">True</x:Boolean>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
      <sap2010:ViewStateData Id="FlowStep_24">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <av:Point x:Key="ShapeLocation">0,314.5</av:Point>
            <av:Size x:Key="ShapeSize">200,51</av:Size>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
      <sap2010:ViewStateData Id="Db_T2_WebSecurity_UsersInRoles_GetAll_2" sap:VirtualizedContainerService.HintSize="242,22" />
      <sap2010:ViewStateData Id="Assign_10" sap:VirtualizedContainerService.HintSize="242,62" />
      <sap2010:ViewStateData Id="TerminateWorkflow_13" sap:VirtualizedContainerService.HintSize="200,22" />
      <sap2010:ViewStateData Id="If_18" sap:VirtualizedContainerService.HintSize="242,51">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <x:Boolean x:Key="IsExpanded">False</x:Boolean>
            <x:Boolean x:Key="IsPinned">True</x:Boolean>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
      <sap2010:ViewStateData Id="Db_T2_WebSecurity_UsersInRoles_Modify_2" sap:VirtualizedContainerService.HintSize="200,22">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <x:Boolean x:Key="IsExpanded">True</x:Boolean>
            <x:Boolean x:Key="IsPinned">False</x:Boolean>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
      <sap2010:ViewStateData Id="Db_T2_WebSecurity_ApplicationUser_GetAll_4" sap:VirtualizedContainerService.HintSize="464,22">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <x:Boolean x:Key="IsExpanded">True</x:Boolean>
            <x:Boolean x:Key="IsPinned">False</x:Boolean>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
      <sap2010:ViewStateData Id="Assign_4" sap:VirtualizedContainerService.HintSize="464,62">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <x:Boolean x:Key="IsExpanded">True</x:Boolean>
            <x:Boolean x:Key="IsPinned">False</x:Boolean>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
      <sap2010:ViewStateData Id="TerminateWorkflow_5" sap:VirtualizedContainerService.HintSize="200,22">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <x:Boolean x:Key="IsExpanded">True</x:Boolean>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
      <sap2010:ViewStateData Id="If_6" sap:VirtualizedContainerService.HintSize="464,210" />
      <sap2010:ViewStateData Id="Sequence_3" sap:VirtualizedContainerService.HintSize="486,498">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <x:Boolean x:Key="IsExpanded">True</x:Boolean>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
      <sap2010:ViewStateData Id="If_7" sap:VirtualizedContainerService.HintSize="200,51">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <x:Boolean x:Key="IsExpanded">False</x:Boolean>
            <x:Boolean x:Key="IsPinned">True</x:Boolean>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
      <sap2010:ViewStateData Id="Db_T2_WebSecurity_UsersInRoles_Modify_3" sap:VirtualizedContainerService.HintSize="200,22">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <x:Boolean x:Key="IsExpanded">True</x:Boolean>
            <x:Boolean x:Key="IsPinned">False</x:Boolean>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
      <sap2010:ViewStateData Id="If_8" sap:VirtualizedContainerService.HintSize="200,51">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <x:Boolean x:Key="IsExpanded">False</x:Boolean>
            <x:Boolean x:Key="IsPinned">True</x:Boolean>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
      <sap2010:ViewStateData Id="TerminateWorkflow_10" sap:VirtualizedContainerService.HintSize="200,22">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <x:Boolean x:Key="IsExpanded">True</x:Boolean>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
      <sap2010:ViewStateData Id="If_9" sap:VirtualizedContainerService.HintSize="200,51">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <x:Boolean x:Key="IsExpanded">False</x:Boolean>
            <x:Boolean x:Key="IsPinned">True</x:Boolean>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
      <sap2010:ViewStateData Id="TerminateWorkflow_6" sap:VirtualizedContainerService.HintSize="200,22">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <x:Boolean x:Key="IsExpanded">True</x:Boolean>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
      <sap2010:ViewStateData Id="If_10" sap:VirtualizedContainerService.HintSize="200,51">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <x:Boolean x:Key="IsExpanded">False</x:Boolean>
            <x:Boolean x:Key="IsPinned">True</x:Boolean>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
      <sap2010:ViewStateData Id="Sequence_8" sap:VirtualizedContainerService.HintSize="200,51">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <x:Boolean x:Key="IsExpanded">False</x:Boolean>
            <x:Boolean x:Key="IsPinned">True</x:Boolean>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
      <sap2010:ViewStateData Id="Assign_11" sap:VirtualizedContainerService.HintSize="242,62" />
      <sap2010:ViewStateData Id="Catch`1_2" sap:VirtualizedContainerService.HintSize="404,135">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <x:Boolean x:Key="IsExpanded">True</x:Boolean>
            <x:Boolean x:Key="IsPinned">False</x:Boolean>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
      <sap2010:ViewStateData Id="TryCatch_2" sap:VirtualizedContainerService.HintSize="242,51">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <x:Boolean x:Key="IsExpanded">False</x:Boolean>
            <x:Boolean x:Key="IsPinned">True</x:Boolean>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
      <sap2010:ViewStateData Id="Sequence_4" sap:VirtualizedContainerService.HintSize="264,430">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <x:Boolean x:Key="IsExpanded">True</x:Boolean>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
      <sap2010:ViewStateData Id="FlowStep_25">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <av:Point x:Key="ShapeLocation">260,314.5</av:Point>
            <av:Size x:Key="ShapeSize">200,51</av:Size>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
      <sap2010:ViewStateData Id="Db_T2_WebSecurity_UsersInRoles_Remove_2" sap:VirtualizedContainerService.HintSize="200,22">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <x:Boolean x:Key="IsExpanded">True</x:Boolean>
            <x:Boolean x:Key="IsPinned">False</x:Boolean>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
      <sap2010:ViewStateData Id="Db_T2_WebSecurity_ApplicationUser_GetAll_5" sap:VirtualizedContainerService.HintSize="464,22">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <x:Boolean x:Key="IsExpanded">True</x:Boolean>
            <x:Boolean x:Key="IsPinned">False</x:Boolean>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
      <sap2010:ViewStateData Id="Assign_5" sap:VirtualizedContainerService.HintSize="464,62">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <x:Boolean x:Key="IsExpanded">True</x:Boolean>
            <x:Boolean x:Key="IsPinned">False</x:Boolean>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
      <sap2010:ViewStateData Id="TerminateWorkflow_7" sap:VirtualizedContainerService.HintSize="200,22">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <x:Boolean x:Key="IsExpanded">True</x:Boolean>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
      <sap2010:ViewStateData Id="If_11" sap:VirtualizedContainerService.HintSize="464,210" />
      <sap2010:ViewStateData Id="Sequence_5" sap:VirtualizedContainerService.HintSize="486,498">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <x:Boolean x:Key="IsExpanded">True</x:Boolean>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
      <sap2010:ViewStateData Id="If_12" sap:VirtualizedContainerService.HintSize="711,648">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <x:Boolean x:Key="IsExpanded">True</x:Boolean>
            <x:Boolean x:Key="IsPinned">False</x:Boolean>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
      <sap2010:ViewStateData Id="Db_T2_WebSecurity_UsersInRoles_Remove_3" sap:VirtualizedContainerService.HintSize="200,22">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <x:Boolean x:Key="IsExpanded">True</x:Boolean>
            <x:Boolean x:Key="IsPinned">False</x:Boolean>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
      <sap2010:ViewStateData Id="If_13" sap:VirtualizedContainerService.HintSize="711,210">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <x:Boolean x:Key="IsExpanded">True</x:Boolean>
            <x:Boolean x:Key="IsPinned">False</x:Boolean>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
      <sap2010:ViewStateData Id="TerminateWorkflow_9" sap:VirtualizedContainerService.HintSize="200,22">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <x:Boolean x:Key="IsExpanded">True</x:Boolean>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
      <sap2010:ViewStateData Id="If_14" sap:VirtualizedContainerService.HintSize="711,210" />
      <sap2010:ViewStateData Id="TerminateWorkflow_8" sap:VirtualizedContainerService.HintSize="200,22">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <x:Boolean x:Key="IsExpanded">True</x:Boolean>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
      <sap2010:ViewStateData Id="If_15" sap:VirtualizedContainerService.HintSize="711,210" />
      <sap2010:ViewStateData Id="Sequence_6" sap:VirtualizedContainerService.HintSize="200,51">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <x:Boolean x:Key="IsExpanded">True</x:Boolean>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
      <sap2010:ViewStateData Id="FlowStep_26">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <av:Point x:Key="ShapeLocation">510,314.5</av:Point>
            <av:Size x:Key="ShapeSize">200,51</av:Size>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
      <sap2010:ViewStateData Id="FlowSwitch`1_3" sap:VirtualizedContainerService.HintSize="70,87">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <x:Boolean x:Key="IsExpanded">True</x:Boolean>
            <av:Point x:Key="ShapeLocation">325,166.5</av:Point>
            <av:Size x:Key="ShapeSize">70,87</av:Size>
            <av:PointCollection x:Key="AddConnector">325,231.75 100,231.75 100,314.5</av:PointCollection>
            <av:PointCollection x:Key="UpdateConnector">360,253.5 360,314.5</av:PointCollection>
            <av:PointCollection x:Key="RemoveConnector">395,231.75 610,231.75 610,314.5</av:PointCollection>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
      <sap2010:ViewStateData Id="Flowchart_2" sap:VirtualizedContainerService.HintSize="724,636">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <x:Boolean x:Key="IsExpanded">False</x:Boolean>
            <av:Point x:Key="ShapeLocation">330,2.5</av:Point>
            <av:Size x:Key="ShapeSize">60,75</av:Size>
            <av:PointCollection x:Key="ConnectorLocation">360,77.5 360,166.5</av:PointCollection>
            <x:Double x:Key="Width">710</x:Double>
            <x:Boolean x:Key="IsPinned">True</x:Boolean>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
      <sap2010:ViewStateData Id="T2.WebSecurity.Business.Workflows.ApplicationController_1" sap:VirtualizedContainerService.HintSize="764,716">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <x:Boolean x:Key="ShouldExpandAll">True</x:Boolean>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
    </sap2010:ViewStateManager>
  </sap2010:WorkflowViewState.ViewStateManager>
</Activity>